package com.ruoyi.quality.service;

import java.util.List;
import com.ruoyi.quality.domain.TInspectionForm;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 整改巡检单记录Service接口
 * 
 * @author mahl2
 * @date 2024-07-02
 */
public interface ITInspectionFormService 
{
    /**
     * 查询整改巡检单记录
     * 
     * @param id 整改巡检单记录主键
     * @return 整改巡检单记录
     */
    public TInspectionForm selectTInspectionFormById(String id);

    /**
     * 查询整改巡检单记录列表
     * 
     * @param tInspectionForm 整改巡检单记录
     * @return 整改巡检单记录集合
     */
    public List<TInspectionForm> selectTInspectionFormList(TInspectionForm tInspectionForm);

    /**
     * 新增整改巡检单记录
     * 
     * @param tInspectionForm 整改巡检单记录
     * @return 结果
     */
    public void insertTInspectionForm(TInspectionForm tInspectionForm, HttpServletResponse response, HttpServletRequest request);

    /**
     * 修改整改巡检单记录
     * 
     * @param tInspectionForm 整改巡检单记录
     * @return 结果
     */
    public int updateTInspectionForm(TInspectionForm tInspectionForm);

    /**
     * 批量删除整改巡检单记录
     * 
     * @param ids 需要删除的整改巡检单记录主键集合
     * @return 结果
     */
    public int deleteTInspectionFormByIds(String[] ids);

    /**
     * 删除整改巡检单记录信息
     * 
     * @param id 整改巡检单记录主键
     * @return 结果
     */
    public int deleteTInspectionFormById(String id);

    void exportInfo(TInspectionForm tInspectionForm, HttpServletResponse response, HttpServletRequest request);
}
